package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-04-05
 */
public class HouseOutGoods extends Model<HouseOutGoods> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 出库单id
     */
    private String houseOutId;

    /**
     * 待出库单商品表id
     */
    private String houseWaitOutGoodsId;

    /**
     * 进货退货单商品id
     */
    private String inGoodsRefundGoodsId;

    /**
     * 销售单商品id
     */
    private String saleGoodsId;

    /**
     * 调拨单商品id
     */
    private String goodsTransferGoodsId;

    /**
     * 借出单商品id
     */
    private String borrowOutGoodsId;

    /**
     * 借入归还单商品id
     */
    private String borrowInBackGoodsId;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 商品数量
     */
    private BigDecimal number;

    /**
     * 单位id
     */
    private String unitId;

    /**
     * 换算倍数
     */
    private BigDecimal times;

    /**
     * 备注
     */
    private String remark;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getHouseOutId() {
        return houseOutId;
    }

    public void setHouseOutId(String houseOutId) {
        this.houseOutId = houseOutId;
    }
    public String getHouseWaitOutGoodsId() {
        return houseWaitOutGoodsId;
    }

    public void setHouseWaitOutGoodsId(String houseWaitOutGoodsId) {
        this.houseWaitOutGoodsId = houseWaitOutGoodsId;
    }
    public String getInGoodsRefundGoodsId() {
        return inGoodsRefundGoodsId;
    }

    public void setInGoodsRefundGoodsId(String inGoodsRefundGoodsId) {
        this.inGoodsRefundGoodsId = inGoodsRefundGoodsId;
    }
    public String getSaleGoodsId() {
        return saleGoodsId;
    }

    public void setSaleGoodsId(String saleGoodsId) {
        this.saleGoodsId = saleGoodsId;
    }
    public String getGoodsTransferGoodsId() {
        return goodsTransferGoodsId;
    }

    public void setGoodsTransferGoodsId(String goodsTransferGoodsId) {
        this.goodsTransferGoodsId = goodsTransferGoodsId;
    }
    public String getBorrowOutGoodsId() {
        return borrowOutGoodsId;
    }

    public void setBorrowOutGoodsId(String borrowOutGoodsId) {
        this.borrowOutGoodsId = borrowOutGoodsId;
    }
    public String getBorrowInBackGoodsId() {
        return borrowInBackGoodsId;
    }

    public void setBorrowInBackGoodsId(String borrowInBackGoodsId) {
        this.borrowInBackGoodsId = borrowInBackGoodsId;
    }
    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }
    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }
    public BigDecimal getTimes() {
        return times;
    }

    public void setTimes(BigDecimal times) {
        this.times = times;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HouseOutGoods{" +
            "id=" + id +
            ", houseOutId=" + houseOutId +
            ", houseWaitOutGoodsId=" + houseWaitOutGoodsId +
            ", inGoodsRefundGoodsId=" + inGoodsRefundGoodsId +
            ", saleGoodsId=" + saleGoodsId +
            ", goodsTransferGoodsId=" + goodsTransferGoodsId +
            ", borrowOutGoodsId=" + borrowOutGoodsId +
            ", borrowInBackGoodsId=" + borrowInBackGoodsId +
            ", goodsId=" + goodsId +
            ", number=" + number +
            ", unitId=" + unitId +
            ", times=" + times +
            ", remark=" + remark +
            ", companyId=" + companyId +
        "}";
    }
}
